#pragma once
#include "cdirenderbase.h"

class CdiTerrian 
  : public CdiRenderBase
{
protected:

public:
  CdiTerrian(LPDIRECT3DDEVICE9 pDevice);
  virtual ~CdiTerrian();

  // Render
  virtual HRESULT Render( LPDIRECT3DDEVICE9 pDevice )
  {
    return S_OK;
  }

  // Can Render
  virtual BOOL CanRender() const 
  {
    return IsEnabled();
  }

  // Set the render state
  virtual BOOL SetRender( BOOL renderState )
  {
    SetEnabled( renderState);
    return IsEnabled();
  }

  // Handle any input if necassary
  virtual void HandleInput( UINT msg, WPARAM wParam, LPARAM lParam ) 
  { 
  }
};
